Skip to content

Comments

Add SKILL.md documentation and npm skill distribution RFC#35

Merged
freema merged 6 commits intomainfrom
claude/npm-skill-distribution-Hm9lX
Feb 3, 2026
Merged

Add SKILL.md documentation and npm skill distribution RFC#35
freema merged 6 commits intomainfrom
claude/npm-skill-distribution-Hm9lX

Conversation

@freema
Copy link
Owner

@freema freema commented Feb 3, 2026

Summary

This PR introduces the SKILL.md file as the primary documentation for the Firefox DevTools MCP server and establishes a framework for distributing skills directly via npm packages. It also includes an RFC proposing a new standard for skill distribution in the npm ecosystem.

Key Changes

  • Added SKILL.md - Comprehensive Czech-language documentation covering:

    • When to use the skill (browser automation, testing, scraping, debugging)
    • Installation instructions with various options (headless mode, custom ports)
    • Complete reference of 18 available tools organized by category
    • Typical workflow patterns and real-world examples
    • Troubleshooting guide and limitations
  • Added RFC document (docs/rfc-npm-skill-distribution.md) - Proposes a new distribution model:

    • Distributing SKILL.md directly in npm packages instead of centralized registries
    • Analogous to how TypeScript types moved from DefinitelyTyped to individual packages
    • Includes implementation plan across 4 phases (Q1-Q3 2026)
    • Addresses open questions around versioning, monorepos, and peer dependencies
  • Updated package.json - Added skill metadata:

    • Included SKILL.md in the files array for npm distribution
    • Added skill field with main file reference, keywords, and AI tool compatibility
    • Supports discovery by AI assistants (Claude Code, Cursor, Cline, Windsurf)

Implementation Details

The SKILL.md format includes:

  • YAML frontmatter with metadata (name, version, description, keywords, compatibility)
  • Structured sections for tool reference with markdown tables
  • Practical workflow examples and use cases
  • Troubleshooting and limitations

The RFC proposes that AI assistants would automatically discover and index skills by scanning node_modules/*/SKILL.md, eliminating the need for centralized registries and enabling version-locked skill documentation alongside code dependencies.

Benefits

  • Version alignment - Skills stay in sync with package versions
  • Offline availability - No HTTP fetches required
  • Deduplication - Leverages npm's node_modules structure
  • Discovery - Integrates with existing npm ecosystem
  • Maintainability - Single source of truth for skill documentation

claude and others added 6 commits February 3, 2026 11:49
- Add SKILL.md with complete documentation for AI assistants
- Add RFC document proposing npm-based skill distribution
- Update package.json with skill metadata and include SKILL.md in published files
- Propose convention for distributing skills directly in npm packages

This addresses the workflow issues with skills.sh and project-level skill
installation by embedding skill definitions directly in npm packages.

https://claude.ai/code/session_01MS6F6w5LqS167UuLB2CppX
- Remove SKILL.md from root (incorrect placement)
- Add plugins/claude/firefox-devtools/ with proper structure:
  - .claude-plugin/plugin.json (manifest)
  - skills/browser-automation/SKILL.md
  - .mcp.json (MCP server config)
  - README.md
- Update RFC to reflect plugin-based distribution approach
- Update package.json files array to include plugins/
- Follow Context7 convention for npm plugin distribution

https://claude.ai/code/session_01MS6F6w5LqS167UuLB2CppX
Plugin distribution via npm is already established (Context7 example).
No need for RFC - just follow existing conventions.

https://claude.ai/code/session_01MS6F6w5LqS167UuLB2CppX
- README: 54 → 31 lines (more concise)
- SKILL.md: 98 → 45 lines (focused on workflow, not tool listing)
- Style inspired by context7 plugin
Structure now matches context7 plugin:
- commands/: /firefox:navigate, /firefox:screenshot, /firefox:debug
- agents/: e2e-tester, web-scraper
- skills/: Enhanced browser-automation skill
- Updated README with full documentation
- Added author info (Tomáš Grasl)
@freema freema merged commit 009db97 into main Feb 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants